VT-d: fix mask applied to DMIBAR in desktop chipset XSA-59 workaround
authorJan Beulich <jbeulich@suse.com>
Mon, 26 May 2014 10:28:46 +0000 (12:28 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 26 May 2014 10:28:46 +0000 (12:28 +0200)
commitf8ecf31c31906552522c2a1b0d1cada07d78876e
treebe92bbcbb37f7e44c4a877bbd78a1ec152b4c2ed
parent16591db3765a228916335de7a2885d650f9dc79d
VT-d: fix mask applied to DMIBAR in desktop chipset XSA-59 workaround

In commit  ("VT-d: suppress UR signaling for desktop chipsets")
the mask applied to the value read from DMIBAR is to narrow, only the
comment accompanying it was correct. Fix that and tag the literal
number as "long" at once to avoid eventual compiler warnings.

The widest possible value so far is 39 bits; all chipsets covered here
but having less than this number of bits have the remaining bits marked
reserved (zero), and hence there's no need for making the mask chipset
specific.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Yang Zhang <yang.z.zhang@intel.com>
xen/drivers/passthrough/vtd/quirks.c